package com.max.back.demo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
/**
 *发药实体类
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sickdrug")
public class SickDrug implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     *主键id
     */
    @TableId("id")
    private Integer id;
    /**
     *病历号
     */
    @TableField("sid")
    private String sid;
    /**
     *药品编号
     */
    @TableField("dnum")
    private String dnum;
    /**
     *药品状态
     */
    @TableField("state")
    private String state;
    /**
     *药品数量
     */
    @TableField("count")
    private Integer count;
    /**
     *药品
     */
    private Drug drug;

}
